package br.com.java.service.impl;

import java.io.Serializable;
import java.util.List;

import org.springframework.stereotype.Service;

import br.com.java.dao.ModuloDAO;
import br.com.java.entities.Aluno;
import br.com.java.entities.Modulo;
import br.com.java.service.ModuloService;

@Service
public class ModuloServiceImpl extends GenericServiceImpl<Modulo, Long, ModuloDAO> implements Serializable, ModuloService{

	private static final long serialVersionUID = 8922902761241558377L;

	@Override
	public List<Modulo> pesquisarPorAluno(Aluno aluno) {
		return baseDao.retrieveByAluno(aluno);
	}

}
